package lib.bone.ext.draft;

import lib.bone.common.core.domain.ResponseDTO;
import lib.bone.common.service.BaseService;

import java.util.List;
import java.util.Optional;

public interface NepuDraftService extends BaseService<NepuDraft,String> {

    Optional<NepuDraft> getLastDraft(Long userId,String formId);

    List<NepuDraft> getFormAllDrafts(Long userId, String formId);

    ResponseDTO deleteByFormId(String formId);


}
